package com.demo.design.stractural.decorator.impl;

import com.demo.design.stractural.decorator.Component;

public abstract class Decorator implements Component {

    protected Component component;

    @Override
    public void operate() {
        component.operate();
    }

    public Decorator(Component component) {
        this.component = component;
    }
}
